#ifndef BOR_ADD_DIALOG_H
#define BOR_ADD_DIALOG_H

#include <QDialog>
#include "QKeyEvent"
namespace Ui {
class bor_add_Dialog;
}

class bor_add_Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit bor_add_Dialog(QWidget *parent = nullptr);
    ~bor_add_Dialog();
    QStringList student;
    QStringList book;
    QStringList borr;
    QString getState(int i);
    int book_i;
    bool flag;
private slots:
    void on_lineEdit_stu_number_editingFinished();

    void on_lineEdit_book_number_editingFinished();

    void on_pushButton_clicked();
    void keyPressEvent(QKeyEvent *event);
    void closeEvent(QCloseEvent *event);
    void on_pushButton_2_clicked();

signals:
    void stu_number(const QString& arg1);
    void book_number(const QString& arg1);
private:
    Ui::bor_add_Dialog *ui;
};

#endif // BOR_ADD_DIALOG_H
